home *** CD-ROM | disk | FTP | other *** search
/ The Amiga Classic Collection / The Amiga Classic Collection - Disc 1.iso / Demo / DE228-SongPlayer153.DMS / DE228-SongPlayer153.adf / songplayer / arexx / Stop.rexx < prev    next >
OS/2 REXX Batch file  |  1999-09-22  |  192b  |  14 lines

  1. /* Arexx Stop command of SongPlayer */
  2.  
  3. MYPORT = 'SONGPLAYER.1'
  4.  
  5. IF ~SHOW( 'P', MYPORT ) THEN DO
  6.    SAY 'SongPlayer is not running.'
  7.    EXIT 10
  8. END
  9.  
  10. ADDRESS VALUE MYPORT
  11. OPTIONS RESULTS
  12.  
  13. STOP
  14.